<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('重点监控')" />
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <ul class="list-unstyled list-inline">
                <li class="text-center">
                    <span>
                        <button class="btn btn-primary dim btn-large-dim" type="button" onclick="showModal('normal')"><i class="glyphicon glyphicon-blackboard"></i>
                        </button>
                        <h3>重点监控</h3>
                   </span>
                </li>
                <li class="text-center">
                    <span>
                        <button class="btn btn-warning dim btn-large-dim" type="button" onclick="showModal('random')"><i class="glyphicon glyphicon-edit"></i>
                        </button>
                        <h3>随机抽查</h3>
                   </span>
                </li>
            </ul>
        </div>
    </div>
</div>
<!--<div style="padding-left: 40px; padding-top: 40px">-->
<!--    <a onclick="showModal()">-->
<!--        <div class="hide" th:text="重点监控"></div>-->
<!--        <div class="pull-center image" style="padding-left: 12px">-->
<!--            <img th:src="@{/img/gif_001.gif}">-->
<!--        </div>-->
<!--        <div>-->
<!--            <span>启动重点监控</span>-->
<!--        </div>-->
<!--    </a>-->
<!--</div>-->
<th:block th:include="include :: footer" />
<script th:inline="javascript">
    var url = "/oms/paeaAuAuditItem/auditBatchDetail";
    function showModal(queryFlag) {
        if(queryFlag == "random"){
            url =  "/oms/paeaAuAuditItem/auditBatchDetail?queryFlag=random&isViewOnly=false&arcId=";
        }else{
            url = "/oms/paeaAuAuditItem/auditBatchDetail?queryFlag=normal&isViewOnly=false&arcId=";
        }
        var x=screen.availWidth;
        var y=screen.availHeight;
        window.showModalDialog(url,"","dialogWidth=" + x + "px; dialogHeight=" + y + "px; help=no; status=no; scroll=yes; resizable=no;");
    }
    //showModal();
</script>
</body>
</html>